<!--  -->
<template>
  <el-card class="box-card">
    <div class="add">
      <div class="card-header-l">
        <el-icon><Document /></el-icon>
        <span>数据列表</span>
      </div>
      <div>
        <slot></slot>
      </div>
    </div>
  </el-card>
</template>

<script lang="ts" setup>
import { reactive, toRefs, ref } from "vue";
</script>
<style lang="scss" scoped>
.card-header {
  display: flex;
  justify-content: space-between;
}

.card-header-l {
  display: flex;
  align-items: center;
  span {
    margin-left: 10px;
    font-size: 14px;
  }
}
.box-card {
  margin: 20px 0;
  .add {
    display: flex;
    justify-content: space-between;
  }
  :deep(.el-card__body) {
    padding: 17px;
  }
}
</style>
